<?php if ($sf_request->getParameter('token') == $job->getToken()) :?>
	<?php include_partial('job/admin', array('job' => $job))?>
<?php endif;?>
<?php slot('title')?>
<?php echo sprintf("The %s is looking for %s (%s)",$job->getCompany(),$job->getPosition(),$job->getLocation())?>
<?php end_slot()?>

<?php  use_helper('Text')?>

<div id="job">
<h1><?php echo $job->getCompany()?></h1>
<h2><?php echo $job->getLocation()?></h2>
<h3>
	<?php echo $job->getPosition()?>
	<small><?php $job->getType()?></small>
</h3>

<?php if($job->getLogo()):?>
	<div class="logo">
	<a href="<?php echo $job->getUrl()?>">
		<img src="/uploads/jobs/<?php echo $job->getLogo()?>"/></a>
   </div>
   <?php endif?>
   
   <div class="description">
   	<?php echo simple_format_text($job->getDescription())?>
   </div>
   
   <h4>How to Apply?</h4>
   <p class="how_to_apply"><?php echo $job->getHowToApply()?></p>
   
   <div class="meta">
   	<small>posted on <?php echo $job->getCreatedAt('m/d/y')?></small>
   </div>
   <a href="<?php echo url_for('job_edit', $job)?>">Edit</a>
</div>